<?php
require_once('../phplib/include.inc.php');
require_once('../phplib/util/CheckLogin.inc.php');

class Admin_Contactinfo extends PageBase{
	public function Ini(){
		$db = getDb();
		$re = $db->fetchOne("SELECT * FROM subhome WHERE s_name='联系信息'");
		$info = unserialize($re['s_content']);
		$this->assign('contactinfo',json_encode($info));
	}
}
$a = new Admin_Contactinfo("file:".dirname(__FILE__)."/../admin/contactinfo.tpl.html");
$a->display();
?>